/****************************************************************************
** Meta object code from reading C++ file 'MainWindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.13.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../../chat/Server/MainWindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MainWindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.13.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_MainWindow_t {
    QByteArrayData data[23];
    char stringdata0[416];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
QT_MOC_LITERAL(1, 11, 11), // "sendMessage"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 11), // "readMessage"
QT_MOC_LITERAL(4, 36, 11), // "showMessage"
QT_MOC_LITERAL(5, 48, 6), // "isSend"
QT_MOC_LITERAL(6, 55, 16), // "acceptConnection"
QT_MOC_LITERAL(7, 72, 9), // "listening"
QT_MOC_LITERAL(8, 82, 12), // "displayError"
QT_MOC_LITERAL(9, 95, 28), // "QAbstractSocket::SocketError"
QT_MOC_LITERAL(10, 124, 8), // "openFile"
QT_MOC_LITERAL(11, 133, 17), // "startTransferFile"
QT_MOC_LITERAL(12, 151, 20), // "updateClientProgress"
QT_MOC_LITERAL(13, 172, 20), // "updateServerProgress"
QT_MOC_LITERAL(14, 193, 21), // "on_openButton_clicked"
QT_MOC_LITERAL(15, 215, 23), // "on_listenButton_clicked"
QT_MOC_LITERAL(16, 239, 26), // "on_disconectButton_clicked"
QT_MOC_LITERAL(17, 266, 24), // "on_sendMesButton_clicked"
QT_MOC_LITERAL(18, 291, 25), // "on_sendFileButton_clicked"
QT_MOC_LITERAL(19, 317, 21), // "on_helpButton_clicked"
QT_MOC_LITERAL(20, 339, 27), // "on_mesHistoryButton_clicked"
QT_MOC_LITERAL(21, 367, 21), // "on_quitButton_clicked"
QT_MOC_LITERAL(22, 389, 26) // "on_textBrowser_textChanged"

    },
    "MainWindow\0sendMessage\0\0readMessage\0"
    "showMessage\0isSend\0acceptConnection\0"
    "listening\0displayError\0"
    "QAbstractSocket::SocketError\0openFile\0"
    "startTransferFile\0updateClientProgress\0"
    "updateServerProgress\0on_openButton_clicked\0"
    "on_listenButton_clicked\0"
    "on_disconectButton_clicked\0"
    "on_sendMesButton_clicked\0"
    "on_sendFileButton_clicked\0"
    "on_helpButton_clicked\0on_mesHistoryButton_clicked\0"
    "on_quitButton_clicked\0on_textBrowser_textChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MainWindow[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      19,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    0,  109,    2, 0x08 /* Private */,
       3,    0,  110,    2, 0x08 /* Private */,
       4,    1,  111,    2, 0x08 /* Private */,
       6,    0,  114,    2, 0x08 /* Private */,
       7,    0,  115,    2, 0x08 /* Private */,
       8,    1,  116,    2, 0x08 /* Private */,
      10,    0,  119,    2, 0x08 /* Private */,
      11,    0,  120,    2, 0x08 /* Private */,
      12,    1,  121,    2, 0x08 /* Private */,
      13,    0,  124,    2, 0x08 /* Private */,
      14,    0,  125,    2, 0x08 /* Private */,
      15,    0,  126,    2, 0x08 /* Private */,
      16,    0,  127,    2, 0x08 /* Private */,
      17,    0,  128,    2, 0x08 /* Private */,
      18,    0,  129,    2, 0x08 /* Private */,
      19,    0,  130,    2, 0x08 /* Private */,
      20,    0,  131,    2, 0x08 /* Private */,
      21,    0,  132,    2, 0x08 /* Private */,
      22,    0,  133,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 9,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::LongLong,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MainWindow *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sendMessage(); break;
        case 1: _t->readMessage(); break;
        case 2: _t->showMessage((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->acceptConnection(); break;
        case 4: _t->listening(); break;
        case 5: _t->displayError((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break;
        case 6: _t->openFile(); break;
        case 7: _t->startTransferFile(); break;
        case 8: _t->updateClientProgress((*reinterpret_cast< qint64(*)>(_a[1]))); break;
        case 9: _t->updateServerProgress(); break;
        case 10: _t->on_openButton_clicked(); break;
        case 11: _t->on_listenButton_clicked(); break;
        case 12: _t->on_disconectButton_clicked(); break;
        case 13: _t->on_sendMesButton_clicked(); break;
        case 14: _t->on_sendFileButton_clicked(); break;
        case 15: _t->on_helpButton_clicked(); break;
        case 16: _t->on_mesHistoryButton_clicked(); break;
        case 17: _t->on_quitButton_clicked(); break;
        case 18: _t->on_textBrowser_textChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAbstractSocket::SocketError >(); break;
            }
            break;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
    &QMainWindow::staticMetaObject,
    qt_meta_stringdata_MainWindow.data,
    qt_meta_data_MainWindow,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *MainWindow::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *MainWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
        return static_cast<void*>(this);
    return QMainWindow::qt_metacast(_clname);
}

int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
